package com.hb.core.pojo.flow.entity;

import com.hb.core.pojo.parent.MPCommonEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 流程运行节点表(模板)
 * </p>
 *
 * @author zhaojk
 * @since 2021-05-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("work_flow_temp_node")
@ApiModel(value="FlowTempNode对象", description="流程运行节点表(模板)")
public class FlowTempNode extends MPCommonEntity {

    @ApiModelProperty(value = "上层节点ID")
    private Long parentId;

    @ApiModelProperty(value = "节点名称")
    private String nodeName;

    @ApiModelProperty(value = "模板主表主键")
    private Long tempMainId;

    @ApiModelProperty(value = "当前流程索引")
    private Integer currentIndex;

    @ApiModelProperty(value = "审批方式(1: 或签, 2: 会签)")
    private Integer signFlag;

    @ApiModelProperty(value = "审批驳回后执行类型(1: 退回发起人, 2: 退回上一节点, 3: 终止流程)")
    private Integer refuseType;

    @ApiModelProperty(value = "表单隐藏表单字段")
    private String secretField;

    @ApiModelProperty(value = "是否允许加签")
    private Integer allowAddsign;


}
